package com.ruoyi.resturant.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 轮播图对象 res_banner
 *
 * @author Daniel
 * @date 2023-09-27
 */
@ApiModel(value = "轮播图实体", description = "轮播图实体")
public class ResBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("轮播图编号")
    private Long id;

    /** 轮播图名称 */
    @ApiModelProperty("轮播图标题")
    private String name;

    /** 图片地址 */
    @ApiModelProperty("广告图片")
    private String pic;

    /** 网址 */
    @ApiModelProperty("跳转链接")
    private String target_url;

    /** 排序 */
    @ApiModelProperty("排序")
    private Long sort;

    /** 状态 */
    @ApiModelProperty("状态")
    private String status;

    public ResBanner() {

    }
    public ResBanner(Long id, String name, String pic, String target_url)
    {
        this.id = id;
        this.name = name;
        this.pic = pic;
        this.target_url = target_url;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getTarget_url() {
        return target_url;
    }

    public void setTarget_url(String target_url) {
        this.target_url = target_url;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}